

echo %errorlevel%
@echo off
set path_work=D:\Workspaces\worksapce_dos
D:
cd %path_work%
rem (.,*)-----遍历指定目录文件
rem (.)-------遍历当前文件夹下面的文件
for /R %%s in (.,*) do (
echo %%s
)

pause